package com.tap.controller;


import com.tap.common.BaseResult;
import com.tap.service.TryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@CrossOrigin
@RestController
public class TryController {
    @Autowired
    TryService tryService;

    @GetMapping("/tryPlay")
    public BaseResult tryPlay(){
        BaseResult baseResult = tryService.findTryPlayAll();
        return baseResult;
    }
}
